use compiler_rust::mir::mir_emmiter::parse_src;
use syn::File;
use std::{fs, env};

fn main() {
    let args: Vec<String> = env::args().collect();

    if args.len() < 2 {
        eprintln!("Usage: {} <filename>", args[0]);
        std::process::exit(1);
    }
    let filename = args[1].as_ref();

    parse_src(&filename);
}
